package me.hellp.helloworld.design.prototype;

public class ConcretePrototypeA implements Prototype{
	
	private String message;
	
	private String name;
	
	public ConcretePrototypeA(String name,String message){
		this.message = message;
		this.name = name;
	}
	
	@Override
	public Prototype clone() {
		return new ConcretePrototypeA(name, message);
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
